package command.fromKanYun;

public class Customer {
    protected Command command;

    public Customer(Command command) {
        this.command = command;
    }

    public void order(){
        command.execute();
    }

    public void unOrder(){
        command.undo();
    }
}
